﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;

namespace MobileSMSRemote
{
    public class ProcessSmsCommand : ISmsCommand
    {
        public ProcessSmsCommand()
        {
            Name = "ProcessSmsCommand";
            Description = "Execute Process";
        }

        public override string ToString()
        {
            return Description;
        }

        #region ISmsCommand Members

        public string Name { get; set; }
        
        public string Description { get; set; }

        public string Action()
        {
            return Process.Start("IExplore.exe", string.Empty).Responding.ToString();
        }

        #endregion
    }
}
